Skip to content

Conversation

@CapOM
Copy link

@CapOM CapOM commented Mar 16, 2021

Permission on /dev/shm is always "drwxrwxrwt root root"
but this was changed to 0700 when mounting a memory
volume over /dev/shm, loosing the sticky bit and the
ability for an app running as a user to use shm_open.
So this patch adds a special case to give /dev/shm
the correct permissions 1777 that relies on the sticky
bit.

Permission on /dev/shm is always "drwxrwxrwt root root"
but this was changed to 0700 when mounting a memory
volume over /dev/shm, loosing the sticky bit and the
ability for an app running as a user to use shm_open.
So this patch adds a special case to give /dev/shm
the correct permissions 1777 that relies on the sticky
bit.
@CLAassistant
Copy link

CLAassistant commented Mar 16, 2021

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants